package com.lazy.develop.generator.dao;

import java.util.List;

import com.lazy.develop.generator.entity.User;
import com.lazy.develop.model.Record;

public interface UserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    List<Record> getUserRolePage (Record record);
    
    List<User> getUserAll();
}